<include file="Public:header" />
<div class="title"><span>商品管理</span></div>
	<div class="list">
<form action="" method="post" enctype="multipart/form-data">
<table>
	<tr>
		<td height="50" colspan="2" class="adds"><strong class="">添加商品</strong> 
		<a href="{:U('/Good/')}">返回</a></td>
	</tr>
	<tr>
		<td>名称:</td>
		<td><input name="gName" type="text" class="" id="" maxlength="50" /></td>
	</tr>
	<tr>
		<td>货号:</td>
		<td><input name="aNumber" type="text" class="" id="" maxlength="50" /></td>
	</tr>
	<tr>
		<td>价格:</td>
		<td><input name="gPrice" type="text" class="" id="" maxlength="50" /></td>
	</tr>
	<tr>
		<td>所属品牌:</td>
		<td>
			<select name="brand">
			<foreach name="brand" item="b" >
				<option value="{$b.id}">{$b.initials} {$b.name}</option>
			</foreach>
			</select>
		</td>
	</tr>
	<tr>
		<td>属性:</td>
		<td>
			<select name="goodPro">
			<foreach name="goodPro" item="gp" >
				<option value="{$gp.id}">{$gp.name}</option>
			</foreach>
			</select>
		</td>
	</tr>
	<tr>
		<td>材质:</td>
		<td>
			<select name="material">
			<foreach name="material" item="m" >
				<option value="{$m.id}">{$m.name}</option>
			</foreach>
			</select>
		</td>
	</tr>
	<tr>
		<td>图片:</td>
		<td><input type="file" name="image"></td>
	</tr>
	<tr>
		<td>简介:</td>
		<td>{:W('OnlineEditor',array('name'=>'goodIntr'))}</td>
	</tr>
	<tr>
		<td td height="50" colspan="2">
		<input type="submit" class="butj"	id="button" value=" 提交 " /></td>
	</tr>
</table>
</form>
</div>
<include file="Public:footer" />